<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>03-24</title>
  <meta name="renderer" content="webkit">
  <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
  <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
  <link rel="stylesheet" href="../../frame/layer-v2.0/skin/layer.css">
  <link rel="stylesheet" href="../../frame/layui/css/layui.css">
  <link rel="stylesheet" href="../../frame/bootstrap3/css/bootstrap.css">
  <script src="../../javascript/jquery-1.9.1.min.js"></script>
  <script src="../../frame/layer-v2.0/layer.js"></script>
  <script src="../../frame/layui/layui.js"></script>
  <script src="../../frame/bootstrap3/js/bootstrap.min.js"></script>
  <script src="../../js/viewjs/03-24.js"></script>
</head>
<body>
<div class="row">
  <button type="button" id="updateDate" class="btn btn-info btn-sm col-md-1" data-toggle="modal" data-target="#myModal">
    <span class="glyphicon glyphicon-plus"></span> 添加用户
  </button>
</div>
<table class="table table-bordered" id="tb" style="width: 80%;margin-left: 100px">
</table>

<!-- Modal -->
<div class="modal fade" id="myModal" tabindex="-1" role="dialog" aria-labelledby="myModalLabel">
  <div class="modal-dialog" role="document">
    <div class="modal-content">
      <div class="modal-header">
        <button type="button" class="close" data-dismiss="modal" aria-label="Close"><span aria-hidden="true">&times;</span></button>
        <h4 class="modal-title" id="myModalLabel">添加用户</h4>
      </div>
      <div class="modal-body">
        <form class="form-horizontal">
          <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">账号</label>
            <div class="col-sm-10">
              <input type="email" class="form-control" id="account" placeholder="账号">
            </div>
          </div>
          <div class="form-group">
            <label for="inputPassword3" class="col-sm-2 control-label">密码</label>
            <div class="col-sm-10">
              <input type="password" class="form-control" id="userpwd" placeholder="Password">
            </div>
          </div>
          <div class="form-group">
            <label for="inputPassword3" class="col-sm-2 control-label">角色</label>
            <div class="radio">
              <label>
                <input type="radio" name="optionsRadios" id="admin" value="1" checked>管理员
              </label>
              <label>
                <input type="radio" name="optionsRadios" id="teacher" value="2" >教师
              </label>
            </div>
          </div>
          <div class="form-group">
            <label for="inputPassword3" class="col-sm-2 control-label">姓名</label>
            <div class="col-sm-10">
              <input type="text" class="form-control" id="username" placeholder="姓名">
            </div>
          </div>
          <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">Email</label>
            <div class="col-sm-10">
              <input type="email" class="form-control" id="inputEmail3" placeholder="Email">
            </div>
          </div>
          <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">所属学校</label>
            <div class="col-sm-10">
              <input type="email" class="form-control" id="user_college" placeholder="学校">
            </div>
          </div>
          <div class="form-group">
            <label for="inputEmail3" class="col-sm-2 control-label">所授课程</label>
            <div class="col-sm-10">
              <select id="cur" class="form-control">
                <option value="">请选择</option>
                <option value="1">C#</option>
                <option value="2">JAVA</option>
                <option value="3">DBA</option>
                <option value="4">语文</option>
                <option value="5">数学</option>
              </select>
            </div>
          </div>
        </form>
      </div>
      <div class="modal-footer">
        <button type="button" class="btn btn-default" data-dismiss="modal">Close</button>
        <button type="button" class="btn btn-primary" id="save">Save changes</button>
      </div>
    </div>
  </div>
</div>
</body>
</html>
